home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 008a / lockup15.zip / LOCKUP15.DOC < prev   
Text File  |  1991-08-31  |  7KB  |  195 lines

  1. LOCKUP v1.5 -- Easy system locking for the terminally lazy
  2. ----------------------------------------------------------
  3. Another fine BeerWare product · (c) 1991, Brian MacAskill
  4.  
  5. {Yes, this used to be LOCKIT. Someone else was using "Lockit." Go figger.}
  6.  
  7. |v1.5 fixes improper cursor color with ?all VGA text modes. If you have a
  8. |problem with cursor color, Eplex me and tell what mode you're using.
  9.  
  10. |v1.4 corrects a silly bug that failed, under certain conditions <g> to
  11. |close files... resulting in a semi-complete log file. I discovered this
  12. |one myself. Moral: never recompile "one last time" using a brand-new
  13. |library. And please, if you find a bug in v1.4, EPlex me.
  14.  
  15. |v1.3 corrects an obscure bug that had the unmitigated gall to make me
  16. |look foolish -- under certain conditions (OK, under *lots* of conditions),
  17. |it allowed the user to "left-cursor" over the DOS prompt.
  18.  
  19. |v1.2 adds "correct password garbling" -- if you correctly enter the
  20. |password, then the last letter of the password will echo to the screen as
  21. |the keypress plus one; for example, the default password of CI$ will show
  22. |on the screen as CI%. A password (entered on the command-line) of ME will
  23. |show on the screen as MF. Keeps someone looking over your shoulder from
  24. |seeing the password while maintaining the illusion of a DOS screen.
  25.  
  26. |v1.2 corrects a bug: a command-line prompt that contained the ">"
  27. |character failed because it's used by DOS for redirection. Hey --
  28. |everyone's allowed to overlook *one* obvious possibility... after all, my
  29. |prompt has always ended with a ":", comme ca: C:\DOS\:
  30. |Anyhow, use $g (or $G) on the command-line for ">" -- if you want
  31. |C:\DOS>, then put C:\DOS$g on the command-line.
  32.  
  33. Version 1.1 docs
  34. ################
  35.  
  36. A quick start:
  37. ~~~~~~~~~~~~~~
  38.      Default password: CI$
  39.      Default prompt:   C:\>
  40.  
  41. Change (temporarily) like so:
  42.  
  43.      LOCKUP password prompt
  44. or
  45.      LOCKUP , prompt
  46. or
  47.      LOCKUP password
  48.  
  49. or (if you're really warped)
  50.  
  51.      LOCKUP password ,
  52.  
  53.  
  54. An Introduction
  55. ~~~~~~~~~~~~~~~
  56. I occasionally have need of a "password protection" program -- most
  57. recently, my wife wanted one for her PC. Just something simple, enough
  58. to keep the curious out.
  59.  
  60. Plenty of those floating around, of course.
  61.  
  62. But I also usually want one that *realistically* simulates the DOS
  63. prompt -- again, primarily for the curious. (Just to keep 'em in the
  64. dark about what's happening when they try to use the PC... and when
  65. they *don't*. No flashing "LOCKED PC" banners.)
  66.  
  67. Of course, there are a few programs with this feature too.
  68.  
  69. I also wanted one that kept log files of attempted and successful entries,
  70. one for each time the program is run.
  71.  
  72. Hmm.
  73.  
  74. One that wouldn't reveal the default password to a file editor.
  75.  
  76. Hmmmm.
  77.  
  78. One that was simple enough to use... I'm a lazy guy.
  79.  
  80. Hmmmmmm.
  81.  
  82. So I wrote one myself. Sigh.
  83.  
  84.  
  85. How LOCKUP works
  86. ~~~~~~~~~~~~~~~~
  87. If you type LOCKUP on the command line, or run it from your
  88. AUTOEXEC.BAT (the first line after ECHO OFF is the best place), then
  89. screen clears and you get a simulated DOS prompt. It looks like this:
  90.  
  91.      C:\>
  92.  
  93. Type anything and you'll get exactly what DOS would give you with no
  94. PATH and no recollection of the internal commands:
  95.  
  96.      Bad command or filename
  97.  
  98. complete with the disk activity you'd get if DOS were searching the PATH.
  99.  
  100. An ENTER gives you a new prompt, the screen scrolls properly, even ESC
  101. produces predictable results.
  102.  
  103. Enter the password (the default is CI$ -- all passwords are case-
  104. insensitive) and you return to the real prompt (or your AUTOEXEC.BAT).
  105.  
  106. Your efforts result in a file that has the day's date as the prefix and
  107. the attempt number (that day) as the extension, like this:
  108.  
  109.       Volume in drive C has no label
  110.       Directory of  C:\             
  111.                                
  112.      05-08-90 1         96   5-08-90  12:58p
  113.  
  114. The file is ASCII, and looks like this:
  115.  
  116.      05-08-1990, 12:58:16 DIR                  
  117.      05-08-1990, 12:58:19 cls                  
  118.      05-08-1990, 12:58:32 Hey! What's going on?                  
  119.      Successful entry on 05-08-1990 at 12:58:47
  120.  
  121. The log files are "hard-wired" to C:\ ... see the end of this doc on
  122. how to get a customized version.
  123.  
  124. Run the program again, and you'll get 05-08-90.2, and so on and so on,
  125. up to 05-08-90.999. (No, I have no idea what happens then. I suspect
  126. 05-08-90.100 is overwritten. Eplex me if you're masochistic enough to
  127. find out.)
  128.  
  129.  
  130. Command line options
  131. ~~~~~~~~~~~~~~~~~~~~
  132. While the default password and prompt are "hard-wired" into LOCKUP, you
  133. can specify different, *temporary* ones from the command line, like so:
  134.  
  135.      LOCKUP MY-PASSWORD C:\DOS:
  136.  
  137. The arguments are separated by spaces. (That means no spaces in the
  138. password or the prompt. Sorry.) You can leave off the password by
  139. substituting a comma, like so:
  140.  
  141.      LOCKUP , D:\FOOBAR\FOOFOO>
  142.  
  143. To change just the password, leave off the prompt:
  144.  
  145.      LOCKUP SECRET
  146.  
  147. As mentioned above, passwords (and prompts) are case-insensitive -- all
  148. are converted to upper-case.
  149.  
  150.  
  151. And now for something completely different...
  152. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  153. LOCKUP is BeerWare. If you like LOCKUP and are overcome with gratitude,
  154. send me $5. I'll have a beer (or two), toasting you liberally all the way.
  155.  
  156. If you'd like a customized copy of LOCKUP (your default password,
  157. prompt, and even location of the log files), then send me $10 and let
  158. me know:
  159.  
  160.      . what password you'd like;
  161.      . what prompt you'd like; and
  162.      . where you'd like the log files stored.
  163.  
  164. (I'll also consider any other reasonable customization requests. And no,
  165. I *won't* add "Real-Time Multitasking Omni-Directional Radar." Get real.)
  166.  
  167. Anyway, I'll write you a custom copy to your specs, and upload it to your
  168. CIS mailbox. (That means that when you log onto CIS, you'll be told you
  169. have mail waiting. When you attempt to read it (GO MAIL), you'll be told
  170. it's a binary file. So you'll download it instead and voila! Your *own*
  171. copy of LOCKUP. Pretty spiffy, huh? Try and get this kind of service out
  172. of WordPerfect Corporation.)
  173.  
  174. If you represent a big company, write or Eplex me and we'll talk <g>.
  175.  
  176. As a bonus, I'm Canadian, so you don't have to worry about me accepting
  177. "foreign" currency -- I'll take whatever I can get. (Please, no loose
  178. coins!)
  179.  
  180. |v1.4: Special thanks to fellow-Canadian Martin R. Hubbard who sent me
  181. |      140 Dominican Republic pesos in rather grimy bills. I'll get even.
  182.  
  183. Send to:
  184.     Brian MacAskill
  185.     77-35 Waterman Ave.,
  186.     London, Ontario
  187.     CANADA
  188.     N6C 5T4
  189.  
  190. You are, of course, *IN NO WAY OBLIGATED* to pay me anything. And go
  191. ahead and reverse-engineer my code... the sight of it'll probably kill
  192. you anyhow.
  193.  
  194. Send any enhancement suggestions to me on CI$. My ID is 71041,1533.
  195.